perm filename GALLEY.MF[FIG,DEK]2 blob
sn#778459 filedate 1984-12-03 generic text, type C, neo UTF8
COMMENT ā VALID 00010 PAGES
C REC PAGE DESCRIPTION
C00001 00001
C00002 00002 % This page should match page 2 of MANUAL.MF,
C00003 00003
C00005 00004
C00007 00005 "Figure 8a" % twenty points on p2
C00009 00006
C00011 00007
C00013 00008
C00015 00009
C00017 00010
C00018 ENDMK
Cā;
% This page should match page 2 of MANUAL.MF,
% because I'm testing stuff to add to that file
def clear_all = clearit; clearxy; pickup standardpen;
proofrulethickness 0;
enddef;
def heavy_dot expr z =
makelabel.top("",z-(1,0));
makelabel.top("",z+(1,0));
makelabel.top("",z-(0,1));
makelabel.top("",z+(0,1));
makelabel.top("",z+(1,1)/sqrt2);
makelabel.top("",z+(1,-1)/sqrt2);
makelabel.top("",z-(1,1)/sqrt2);
makelabel.top("",z-(1,-1)/sqrt2);
enddef;
mode=proof; mode_setup;
standardpen=savepen;
"Figure 8a"; % twenty points on p2
path p[]; p1=(0,0)..(3,3); p2=(0,0)..(3,3)..cycle;
transform t; t=identity scaled 60 shifted (50,0);
pair zz;
z=(1.5,1.5) transformed t;
pickup pencircle;
draw p2 transformed t;
for n=0 upto 19: zz:=point n/10 of p2 transformed t;
heavy_dot zz;
makelabel.top.nodot(decimal(n/10) if n mod 10=0:&".0" fi,
.09[zz,z] shifted(.05xpart(z-zz),-6.5)); endfor
%.1[zz,z] shifted(.1xpart(z-zz),-8)); endfor
shipit;
showit;